package fr.axgame;

public abstract class Character {

	private String name;
	private int maxLife;
	private int currentLife;
	private int attack;
	private int defense;
	private int accuracy;
	private int dodge;
	private int criticalChance;

	public Character(String name, int maxLife, int attack, int defense, int accuracy, int dodge, int criticalChance) {
		this.name = name;
		this.maxLife = maxLife;
		this.currentLife = maxLife;
		this.attack = attack;
		this.defense = defense;
		this.accuracy = accuracy;
		this.dodge = dodge;
		this.criticalChance = criticalChance;
	}

	public int getMaxLife() {
		return maxLife;
	}

	public void setMaxLife(int maxLife) {
		this.maxLife = maxLife;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getAttack() {
		return attack;
	}

	public void setAttack(int attack) {
		this.attack = attack;
	}

	public int getDefense() {
		return defense;
	}

	public void setDefense(int defense) {
		this.defense = defense;
	}

	public int getAccuracy() {
		return accuracy;
	}

	public void setAccuracy(int accuracy) {
		this.accuracy = accuracy;
	}

	public int getDodge() {
		return dodge;
	}

	public void setDodge(int dodge) {
		this.dodge = dodge;
	}

	public int getCriticalChance() {
		return criticalChance;
	}

	public void setCriticalChance(int criticalChance) {
		this.criticalChance = criticalChance;
	}
	
	public int getCurrentLife() {
		return currentLife;
	}

	public void setCurrentLife(int currentLife) {
		this.currentLife = currentLife;
	}

}
